<?php
/**
 * Created by mq.
 * User: mq
 * Date: 17-9-28
 * Time: 下午10:01
 */

function is_login(){
    $user_id = \think\Session::get('user.id');
    return $user_id;
}